function NPC_OnCombat(pUnit, event)
pUnit:RegisterEvent("NPC_onCombat", 119, 0)
end


function NPC_ON_KILL_TARGET(pUnit, event)
pUnit:RemoveEvents()
end

function NPC_OnDied(pUnit, event)
pUnit:RemoveEvents()
end


RegisterUnitEvent(119, 1, "NPC_OnCombat")
RegisterUnitEvent(119, 4, "NPC_OnDied")
RegisterUnitEvent(119, 3, "NPC_OnDied")